package com.health.db.mapper;

import com.health.db.model.GoodsList;
import com.health.db.model.GoodsListCouse;
import com.health.db.model.GoodsListExample;
import com.health.db.model.GoodsListTemp;

import java.util.List;

public interface GoodsListMapper {
    int countByExample(GoodsListExample example);

    int deleteByExample(GoodsListExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(GoodsList record);

    int insertSelective(GoodsList record);

    List<GoodsList> selectByExample(GoodsListExample example);
    List<GoodsListTemp> selectBySimple(GoodsListExample example);
    
    List<GoodsListCouse> selectBySimpleCouse(GoodsListExample example);

    GoodsList selectByPrimaryKey(Long goodsId);
    
    GoodsList selectByGoodsId(Long goodsId); 

    int updateByPrimaryKeySelective(GoodsList record);

    int updateByPrimaryKey(GoodsList record);
    
    GoodsList selectGoodsAndDatasByGoodsId(Long goodsId);
}